/*
 * Use to prevent spelling errors, and easily update code if database changes
 */

package Controller;

public enum DBcolNames {
	IDRECIPE("idRecipe"), 
	NAME("name"), 
	STYLE("style"), 
	OG("OG"), 
	FG("FG"), 
	IBU("IBU"),
	PREBOILVOL("preBoilVol"), 
	POSTBOILVOL("postBoilVol"), 
	VOLUMEUNIT("volumeUnit"), 
	BOILTIME("boilTime"), 
	MASHTEMP("mashTemp"), 
	MASHTIME("mashTime"), 
	EFFICIENCY("efficiency"), 
	TEMPUNIT("tempUnit"), 
	BREWDATE("brewDate"), 
	IDPARENT("idParentRecipe"),
	IDNOTE("idNote"), 
	STAGE("stage"), 
	NOTE("note"),
	INGREDIENT_NAME("ingredientName"),
	ADDITION_METHOD("additionMethod"),
	WEIGHT("weight"),
	WEIGHT_UNIT("unit"),
	ALPHA("alpha"),
	HOP_TYPE("hopType"), 
	DESCRIPTION("description");
	
	private final String value;
	
	DBcolNames(String value) {
		this.value = value;
	}
	
	public String toString() {
		return this.value;
	}
}
